package com.cpx.feign.hystrix;

import com.cpx.dto.PageBeanDto;
import com.cpx.feign.GoodsFeign;
import com.cpx.po.Goods;
import com.cpx.po.GoodsBrand;
import com.cpx.po.GoodsCategory;
import com.cpx.po.GoodsSupplier;
import feign.Response;
import org.springframework.stereotype.Component;

import javax.servlet.ServletOutputStream;
import java.util.List;

/**
 * @Auther: PanBin
 * @Date: 2018-11-13 17:25
 * @Version: 1.0
 */
@Component
public class GoodsHystrix implements GoodsFeign {
    @Override
    public List<GoodsCategory> getCategoryTree(GoodsCategory goodsCategory) {
        return null;
    }

    @Override
    public int updateCategoryNode(GoodsCategory goodsCategory, Integer type) {
        return 0;
    }

    @Override
    public int insertSelective(Goods goods) {
        return 0;
    }

    @Override
    public PageBeanDto<GoodsBrand> selectBrandPage(GoodsBrand goodsBrand,Integer pageSize,Integer pageNum) {
        return null;
    }

    @Override
    public int addBrand(GoodsBrand goodsBrand) {
        return 0;
    }

    @Override
    public int delBrand(Integer[] brandIds) {
        return 0;
    }

    @Override
    public int editBrand(GoodsBrand goodsBrand) {
        return 0;
    }

    @Override
    public Response exportBrand(GoodsBrand goodsBrand) {
        return null;
    }

    @Override
    public PageBeanDto<GoodsSupplier> selectSupplierPage(GoodsSupplier goodsSupplier, Integer pageSize, Integer pageNum) {
        return null;
    }

    @Override
    public int addSupplier(GoodsSupplier goodsSupplier) {
        return 0;
    }

    @Override
    public int editSupplier(GoodsSupplier goodsSupplier) {
        return 0;
    }

    @Override
    public int delSupplier(Integer[] supplierIds) {
        return 0;
    }

    @Override
    public Response exportSupplier(GoodsSupplier goodsSupplier) {
        return null;
    }
}
